package com.dkd.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 设备管理对象 tb_equipment
 * 
 * @author lengxx
 * @date 2025-03-24
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Long equipmentTypeId;

    /** 设备价格 */
    @Excel(name = "设备价格")
    private BigDecimal price;

    /** 维护价格 */
    @Excel(name = "维护价格")
    private BigDecimal maintenancePrice;

    /** 设备厂商 */
    @Excel(name = "设备厂商")
    private String manufacturer;

    /** 图标 */
    @Excel(name = "图标")
    private String iconUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentTypeId(Long equipmentTypeId) 
    {
        this.equipmentTypeId = equipmentTypeId;
    }

    public Long getEquipmentTypeId() 
    {
        return equipmentTypeId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setMaintenancePrice(BigDecimal maintenancePrice) 
    {
        this.maintenancePrice = maintenancePrice;
    }

    public BigDecimal getMaintenancePrice() 
    {
        return maintenancePrice;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setIconUrl(String iconUrl) 
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl() 
    {
        return iconUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentTypeId", getEquipmentTypeId())
            .append("price", getPrice())
            .append("maintenancePrice", getMaintenancePrice())
            .append("manufacturer", getManufacturer())
            .append("iconUrl", getIconUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
